package org.jeecg.modules.operations.assistant.wechat.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Accessors(chain = true)
public class WXPayOrderReqVO {

    @ApiModelProperty(value = "订单支付类型(商品订单;预约订单)")
//    @NotBlank(message = "订单支付类型不能为空！")
    private String orderType;//附加数据，回调时可根据这个数据辨别订单类型或其他

    @ApiModelProperty(value = "总金额(单位：分)")
//    @NotNull(message = "总金额不能为空！")
    private Integer totalPrice;

    @ApiModelProperty(value = "商品名称")
//    @NotBlank(message = "商品名称不能为空！")
    private String goodsName;

    @ApiModelProperty(value = "openid",required = true)
    @NotBlank(message = "openId不能为空！")
    private String openId;

    @ApiModelProperty(value = "商品订单号",required = true)
    @NotBlank(message = "商品订单号不能为空！")
    private String orderSn;
}